package com.enterprise.controller.manage;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.enterprise.controller.BaseController;
import com.enterprise.entity.Case;
import com.enterprise.service.CaseService;
import com.enterprise.service.Services;

@Controller
@RequestMapping("/manage/case/")
public class CaseAction extends BaseController<Case>{

	private static final String page_toList = "/manage/case/caseList";
	private static final String page_toAdd = "/manage/case/caseEdit";
	private static final String page_toEdit = "/manage/case/caseEdit";
	
	
	public CaseAction(){
		super.page_toList = page_toList;
		super.page_toAdd = page_toAdd;
		super.page_toEdit = page_toEdit;
	}
	
	@Autowired
	CaseService caseService;
	
	
	
	
	@Override
	public Services<Case> getService() {
		// TODO Auto-generated method stub
		return caseService;
	}

}
